<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + request.getContextPath() + "/";
    request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>后台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="${basePath}css/font.css">
    <link rel="stylesheet" href="${basePath}css/xadmin.css">
    <script type="text/javascript" src="${basePath}js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="${basePath}lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${basePath}js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" href="${basePath}css/xcConfirm.css" type="text/css">
    <script src="${basePath}js/xcConfirm.js"></script>
    <script src="${basePath}lib/My97DatePicker/WdatePicker.js"></script>
</head>
<script>
    $(function () {
        try {
            var index = parent.layer.getFrameIndex(window.name);
            window.parent.location.reload();
            parent.layer.close(index);
        } catch (e) {

        }
    });
</script>
<body>
<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so layui-form-pane" method="get">
            <input class="layui-input" placeholder="订单渠道" name="userSource" value="${goodsOrder.userSource}">
            <input class="layui-input" placeholder="开始时间" name="orderBeginTime" value="${goodsOrder.orderBeginTime }"
                   onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
            <input class="layui-input" placeholder="结束时间" name="orderEndTime" value="${goodsOrder.orderEndTime }"
                   onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">
            <button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
        </form>
    </div>
    <xblock>
    </xblock>
    <table class="layui-table">
        <thead>
        <tr>
            <td>编号</td>
            <td>实际支付总额</td>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>1</td>
            <td>${goodsOrder.totalAmount }</td>
        </tr>
        </tbody>
    </table>
    <ul style="color:red;">说明：
        <li style="color:red;">1.统计范围：状态为待收货、待评价、已完成的订单；</li>
        <li style="color:red;">2.因某些订单通过后台配置，导致系统数据有偏差，统计结果仅供参考；</li>
    </ul>
</div>
<script>
    layui.use(['form'], function () {
        form = layui.form;

    });
</script>
</body>

</html>